﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>ShowImportDetail</title>
    <link href="../../Content/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            width: 100%;
            background-color:White;
        }
    </style>
</head>
<body style="background:#e1d1d6;">

    <div>
    
        <table class="style1" cellspacing="5">
            <tr style="background-color:#507CD1; font-weight:bold; Color:White; text-align:center;">
                <td>
                    Product</td>
                <td>
                    Number</td>
                <td>
                    Price</td>
            </tr>
            <%
                foreach (GIFT_SHOP_MVC.Models.CT_PhieuNhap detail in ViewData.Model)
                {
                 %>
                <tr style="background-color:#D1DDF1; font-weight:bold; Color:#333333; text-align:center;">
                    <td>
                        <%=detail.SanPham.TenSanPham%></td>
                    <td>
                        <%=detail.SoLuongNhap %></td>
                    <td>
                        <%=detail.Gia.ToString()%></td>
                </tr>
            <%} %>
        </table>
    
    </div>
</body>
</html>
